package com.kate.mall.oauth.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 用一句话描述
 * @Auther: 新梦想*陈超
 * @Date: 2021/8/24 16:52
 */
@Data
@Accessors(chain = true)
public class MemberDto implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private Integer gender;
    private String birthday;
    //@JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonFormat( pattern = "yyyy-MM-dd hh:mm:ss")
    private Date lastLoginTime;
    private String lastLoginIp;
    private Integer userLevel;
    private String nickname;
    private String mobile;
    private String avatar;
    private String weixinOpenid;
    private String sessionKey;
    private Integer status;
    private String addTime;
    private String updateTime;
    @JsonIgnore
    private Boolean deleted;






}
